package se.webbzon.boltzmann.environment;

public class VariableEntry<T> {
	
	// The name of the variable
	private String name;
	
	// The value of the variable
	private T value;
	
	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new variable entry. **/
	public VariableEntry(String name, T value) {
		this.name = name;
		this.value = value;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the name of the variable. **/
	public String getName() {
		return name;
	}
	
	/** Returns the value of the variable. **/
	public T getValue() {
		return value;
	}

}
